From 99a162c69e0eb21d8b9fa6b127c69c7c536366fd Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 20 Nov 2013 17:33:03 +0000 Subject: [PATCH] gtkpapersize: Reformat #if preprocessor commands This eliminates some false positive warnings from scan-build, which was not interpreting the #ifs and hence warning about unbalanced #endifs. https://bugzilla.gnome.org/show_bug.cgi?id=712760 --- gtk/gtkpapersize.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk/gtkpapersize.c b/gtk/gtkpapersize.c index 1ab622e194..cece2bed36 100644 --- a/gtk/gtkpapersize.c +++ b/gtk/gtkpapersize.c @@ -30,7 +30,8 @@ #include "gtkprintoperation.h" /* for GtkPrintError */ #include "gtkintl.h" -#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */ +/* _gtk_load_custom_papers() only on Unix so far */ +#ifdef G_OS_UNIX #include "gtkcustompaperunixdialog.h" #endif @@ -475,7 +476,8 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom) { GList *list = NULL; guint i; -#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */ +/* _gtk_load_custom_papers() only on Unix so far */ +#ifdef G_OS_UNIX if (include_custom) { GList *page_setups, *l; -- 2.30.2